import os
import re
import sys
import time
import pickle
import asyncio
import random
import importlib
import requests as rq
from lxml import etree
from os.path import getsize
from concurrent.futures import as_completed
from concurrent.futures import ThreadPoolExecutor as tp

TEXT_URL = r'https://coolaf.com/zh/tool/gp'
ALTERNATE_IP = ['218.90.165.189:7890', '61.163.139.21:7890', '61.163.32.88:3128']
MAX_RETRIES = MAX_ERR = 7
